home *** CD-ROM | disk | FTP | other *** search
- Path: news.delphi.com!usenet
- From: Derek Harmon <stonelight@delphi.com>
- Newsgroups: comp.lang.c
- Subject: Re: PCX/GIF loader for C/C++?? POSSIBLE?
- Date: Tue, 30 Jan 96 12:49:46 -0500
- Organization: Delphi (info@delphi.com email, 800-695-4005 voice)
- Message-ID: <BlJpw16.stonelight@delphi.com>
- References: <4eijqq$kdh@news.sas.ab.ca>
- NNTP-Posting-Host: bos1f.delphi.com
- X-To: <bailey@freenet.edmonton.ab.ca>
-
- ** Quoting a message from <bailey@freenet.edmonton.ab.ca> dated <29-Jan-1996>:
-
- > How would I load and display a PCX/GIF picture with C/C++?? SOmebody help
- > me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
- It certainly is possible. :) Rather than get into a coding jam session
- with you, I'll direct you to a few fine resources.
-
- The display issues are system-dependent [VGA on a PC? Using the Microsoft
- Windows' GDI? XView on a Sun? Mac? Jeez.. I don't know anything about
- Macs :) ]. You are better off referring that question to a more system-
- oriented newsgroup. The loading and saving is usually straightforward when
- you know the file formats you are dealing with. GIFs include LZW file com-
- pression, so that needs to be taken into account (memory size > disk file
- length).
-
- For dealing with raster graphics such as PCX or GIF on PC-platforms in
- C, any book by Steve Rimmer (author of Graphics Workshop) is highly recom-
- mended. For DOS, check-out _Bitmapped_Graphics_, 2ed., and for Windows, it
- is entitled _Windows_Bitmapped_Graphics_. Publisher is Windcrest.
-
- The definitive reference shelf addition for anyone seriously involved
- with graphics, including almost every image file format, is O'Reilly and
- Associates' _Encyclopedia_of_Graphics_File_Formats_.
-
- However, online resources are abundant. For pointers to archives that
- hold file specifications for almost every image file format, grab the File
- Formats FAQ out of comp.graphics.misc next time it appears, or:
-
- ftp://rtfm.mit.edu/pub/usenet/news.answers/graphics/fileformats-faq
-
- Hope this has been of help,
- -- Stone
- --
- ... 11-PDP eht edisni deppart ma I !pleH
-